<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            优惠券ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="foreign_key" type="text" value="{$data['foreign_key']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            发布人id
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="issue_user" type="text" value="{$data['issue_user']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            领取人ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="get_user_id" type="text" value="{$data['get_user_id']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            核销编码
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="coupon_code" type="text" value="{$data['coupon_code']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            状态  0：未使用  1：已使用
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="status" type="text" value="{$data['status']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            领取时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="add_time" type="text" value="{$data['add_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
